package cn.catsdad.base.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.MappedSuperclass;

/**
 * 租户隔离base实体
 *
 * @author xuyl
 * @version V1.0.0 2025/4/9
 * @since V100R001
 */
@EqualsAndHashCode(callSuper = true)
@Data
@MappedSuperclass
public class BaseTenantEntity extends BaseEntity {

    /**
     * 租户id
     */
    private Long tenantId;
}
